$.fn.observe = function(time, callback)
{
	var self = this;
	change = false;
	
	$(self).change(function()
	{
		change = $(this).val();
	});

	setInterval(function()
	{
		if (change) callback.call(self, changed);
		change = false;
	}, time);
};